#!/bin/sh

y=2008

while [ $y -ne 2009 ]
do
    d=3
    while [ $d -ne 6 ]
    do
    ./Preprocess -t average/t_${y}0$d.kvsml -outname t_${y}0$d.kvsml
#    ./Preprocess -f average/rhoo_${y}0$d.kvsml -outname rhoo_${y}0$d.kvsml
#    ./Preprocess -f average/velocity_${y}0$d.kvsml -outname velocity_${y}0$d.kvsml
    d=`expr $d + 1`
    done
y=`expr $y + 1`
done